﻿#region Creditos

/* Autor: Edilberto Sánchez Forero	*/
/* Email: esanchezfo@gmail.com		*/
/* Licencia: Propietario			*/
/* País: Colombia, Bogotá			*/

#endregion

#region Librerias

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESF.General.Entity;
using System.Runtime.Serialization;

#endregion


namespace ESF.SSO.Core.Entities
{
	[DataContract]
	[Serializable]
	public class ContactUs : BaseEntity
	{
		[DataMember]
		public string ID { set; get; }

		[DataMember]
		public BasicReference Application { set; get; }
		
		[DataMember]
		public string Title { set; get; }
		
		[DataMember]
		public string Comments { set; get; }
		
		[DataMember]
		public string SenderEmail { set; get; }

		[DataMember]
		public string Response { set; get; }

		[DataMember]
		public DateTime? ResponseDateTime { set; get; }

		[DataMember]
		public DateTime? CreationDateTime { set; get; }

		[DataMember]
		public string ResponseUserAlias { set; get; }

		[DataMember]
		public BasicReference ContactUsTypeID { set; get; }


		#region Filters

		public string filUserAlias;
		public string filUserFullName;
		public string filUserIdentificationNumber;
		
		public int? filUserIdentificationTypeID;

		public DateTime? filMessageStartDate;
		public DateTime? filMessageEndDate;

		public bool? filWithResponse;

		public string filExtraValue;

		#endregion


		#region Calculated

		public int calRowIndex { set; get; }

		#endregion
	}
}
